<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <style type="text/css">
        @import url(${basePath}css/form.css);
    </style>
    <title>读者类别信息</title>
    <style type="text/css">
        @import url(../css/form.css);

        li {
            list-style: none;
        }

        .tdOne {
            text-align: right;
        }

        #biaoGe {
            width: 80%;
            margin: 0 auto;
            margin-top: 50px;
        }

        textarea.kuang {
            height: 300px;
            width: 600px;
        }
    </style>
</head>
<body>
<h1>编辑读者类别信息</h1>

<form name="typeForm" action="${basePath}readerType/addReaderType"
      method="post">
    <input type="hidden" name="id" value="${readerType.id}">

    <table id="biaoGe">
        <tr>
            <td class="tdOne">类别名称:</td>
            <td><input class="kuang" type="text" name="name"
                       value="${readerType.name}"/></td>
        </tr>

        <tr>
            <td class="tdOne">可借书数:</td>
            <td><input class="kuang" type="text" name="bookmax"
                       value="${readerType.bookmax}"/></td>
        </tr>

        <tr>
            <td class="tdOne">可借天数:</td>
            <td><input class="kuang" type="text" name="daymax"
                       value="${readerType.daymax}"/></td>
        </tr>

        <tr>
            <td class="tdOne">可续借天数:</td>
            <td><input class="kuang" type="text" name="continueday"
                       value="${readerType.continueday}"/></td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input class="btn" type="submit" value="保存" name="commit"/>
            </td>
        </tr>
    </table>
</form>

</body>
</html>
